package com.filldream.fastboot.base.request.pc.mallCategory;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotNull;

/**
 * @author RickSun && iFillDream
 * @version 1.0
 * @data 2020-05-27 9:52
 */
@ApiModel("修改商品分类-pc")
@Data
public class ModifyMallCategorySTO {

    @NotNull
    @ApiModelProperty(value = "分类ID",required = true)
    private Long id;

    @ApiModelProperty(value = "分类名")
    private String name;

    @ApiModelProperty(value = "父级ID")
    private Long pId;

    @ApiModelProperty(value = "是否叶子目录")
    private Integer isLeaf;

    @ApiModelProperty(value = "分类图片")
    private String img;


}
